home *** CD-ROM | disk | FTP | other *** search
- Path: vb.franken.de!volker
- From: volker@vb.franken.de (Volker Barthelmann)
- Subject: Re: 680X0 -> PPC translator?
- Newsgroups: comp.sys.amiga.programmer
- References: <1190.6631T892T581@und.ida.liu.se> <Ronald.07ii@noblehouse.xs4all.nl> <31355992.58CD@afrodite.kih.no> <313D36C8.72B7@sapiens.com>
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
- Message-ID: <volker.0fq1@vb.franken.de>
- Date: 6 Mar 96 21:54:55 MET
- Organization: home
-
- Avi Lev (avil@sapiens.com) wrote:
- :
- : Hi guys, you can argue whether it's possible or not as much as
- : you want i claim IT'S DAMN POSSIBLE!!! it's just that no one is
-
- It is possible in certain simple cases, but generally not.
-
- : [..] translation shoudn't be more
- : difficult than translating mov cx,3 (in x86) to move a2,3 (in
- : 680x0) so what's the problem?!
-
- Just a little example:
-
- pea 4
- jsr _malloc
- addq.w #4,a7
- move.l d0,a0
- ...
- move.l label,(a0)
- ...
-
- label
- moveq #100,d0
- rts
-
- How are You going to translate this into PPC-Code (and notie that PPC
- instructions are at least 32 bits long)?
-
- Volker
-
-